package com.zui.util.mail;

import org.springframework.mail.MailMessage;

import com.zenith.yasoo.party.Person;

/**
 * This is a mail util class to send Email.
 * 
 * @author zhaoyong
 */
public interface MailManager {
	/**
	 * indicate that in which way the email will be delivered.
	 * This will be a configurable property in production environment.
	 */
	public static final boolean JMS_MAIL_MANAGER = true;
	public void sendMailMessage(final MailMessage mailMessage);
	
	/**
	 * send Signup confirmation email after the user singed up.
	 * @param person the person signed up.
	 */
	public void sendSignupConfirmationMessage(final Person person);
	
}
